package springweb.gae.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import springweb.gae.service.SimpleService;

@Controller
public class SimpleController {

	@Resource(name="simpleService")
	private SimpleService service;
	
	@RequestMapping("/showU")
	public String showU(ModelMap model){
		model.addAttribute("message", service.showU());
		return "/showU";
	}
}
